<style>
    .pagination{
        padding-left: 0;
        margin: 2px 0;
        border-radius: 4px;
    }
</style>
<div class="page-content">
    <div class="col-sm-6 pull-right">
    </div>
    <div class="page-header">
        <h1>行业管理</h1>
    </div>

    <form class="form-horizontal" role="form" action="{:url('index')}" method="post" name="myfrom">
        <div  class="form-group" >
            <label class="control-label pull-left" style="margin-left: 20px;">公司名称：</label>
            <div >
                <input type="text" class="col-xs-5 col-sm-2" value="{$name}" name="name">
            </div>
            <span class="btn btn-sm btn-primary pull-left" style="margin-left: 10px;" onclick="myfrom.submit()">
            搜素
            <i class="icon-reply icon-only"></i>
        </span>
        </div>

    </form>

    <div class="row">
        <div class="col-xs-12">
            <div class="row">
                <div class="col-xs-12">
                    <table id="simple-table" class="table  table-bordered table-hover" style="vertical-align:middle;">
                        <thead>
                            <tr>
                                <th rowspan=2 class="detail-col">ID</th>
                                <th rowspan=2 style="width: 5%;text-align:center; vertical-align:middle;">证券名称</th>
                                <th colspan=3 style="text-align:center; vertical-align:middle;">市盈率(TTM)</th>
                                <th colspan=3 style="text-align:center; vertical-align:middle;">市净率</th>
                                <th colspan=3 style="text-align:center; vertical-align:middle;">市销率</th>
                                <th colspan=3 style="text-align:center; vertical-align:middle;">市现率</th>
                                <th colspan=3 style="text-align:center; vertical-align:middle;">总市值</th>
                                <th colspan=3 style="text-align:center; vertical-align:middle;">营业收入</th>
                                <th colspan=3 style="text-align:center; vertical-align:middle;">净利润</th>
                                <th colspan=3 style="text-align:center; vertical-align:middle;">EV/EBITDA</th>
                                <th colspan=3 style="text-align:center; vertical-align:middle;">净利润增长率</th>
                                <th rowspan=2>总数</th>
                                <th rowspan=2>操作</th>
                            </tr>
                            <tr>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">TTM</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">平均</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">排名</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">TTM</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">平均</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">排名</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">TTM</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">平均</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">排名</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">TTM</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">平均</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">排名</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">TTM</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">平均</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">排名</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">TTM</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">平均</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">排名</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">TTM</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">平均</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">排名</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">TTM</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">平均</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">排名</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">TTM</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">平均</th>
                                <th style="width: 2%;text-align:center; vertical-align:middle;">排名</th>
                            </tr>
                        </thead>
                        <tbody>
                            {volist name="lists" id="vo"}
                            <tr>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.sid}</td>
                                <td style="width: 5%;text-align:center; vertical-align:middle;">{$vo.stock_name}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.pe}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.pe_average}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.pe_rank}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.pb}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.pb_average}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.pb_rank}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.ps}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.ps_average}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.ps_rank}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.pcf}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.pcf_average}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.pcf_rank}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.total}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.total_average}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.total_rank}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.take}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.take_average}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.take_rank}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.profit}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.profit_average}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.profit_rank}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.ev}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.ev_average}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.ev_rank}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.growth}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.growth_average}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.growth_rank}</td>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.company_total}</td>
                                <td>
                                    <a href='{:url("editp","sid=$vo[sid]&stock_code=$vo[stock_code]&status=0")}'>
                                        <span class="btn btn-xs 3tn-info">
                                            编辑
                                            <i class="icon-reply icon-only"></i>
                                        </span>
                                    </a>
                                    <a href='{:url("del","sid=$vo[sid]&stock_code=$vo[stock_code]&status=0")}'>
                                        <span class="btn btn-xs 3tn-info">
                                            删除
                                            <i class="icon-reply icon-only"></i>
                                        </span>
                                    </a>
                                </td>
                            </tr>
                            {/volist}    
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>




